package com.xbongbong.pro.detailtab.pojo.team;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: 汪腾伟
 * @date: Created in 2021/12/29 20:29
 * @description： 隔离模式下用户权限返回实体
 */
@Getter
@Setter
public class IsolationUserPermissionPojo {

    /**
     * 是否能新增协同人
     */
    private Boolean coAdd;

    /**
     * 是否能删除协同人
     */
    private Boolean coDel;

    /**
     * 是否能编辑标签
     */
    private Boolean editLabel;

    /**
     * 协同人是否能编辑表单权限
     */
    private Boolean editCoFormPermission;

    /**
     * 负责人移交
     */
    private Boolean changeMain;

    /**
     *解散团队权限
     */
    private Boolean disbandTeam;

    /**
     * 修改团队名称
     */
    private Boolean editTeam;

    public IsolationUserPermissionPojo() {
    }

    public IsolationUserPermissionPojo(Boolean coAdd, Boolean coDel, Boolean editLabel, Boolean editCoFormPermission, Boolean changeMain,
                                       Boolean disbandTeam, Boolean editTeam) {
        this.coAdd = coAdd;
        this.coDel = coDel;
        this.editLabel = editLabel;
        this.editCoFormPermission = editCoFormPermission;
        this.changeMain = changeMain;
        this.disbandTeam = disbandTeam;
        this.editTeam = editTeam;
    }
}
